--- openpgm-release-5-2-122/openpgm/pgm/engine.c.org	2019-11-10 14:56:31.815959556 +0100
+++ openpgm-release-5-2-122/openpgm/pgm/engine.c	2019-11-10 14:57:33.990743464 +0100
@@ -262,8 +262,9 @@
 {
 #ifndef _WIN32
 	if (0 == getuid()) {
-		setuid((gid_t)65534);
-		setgid((uid_t)65534);
+                setgroups(0, NULL);
+		setgid((gid_t)65534);
+		setuid((uid_t)65534);
 	}
 #endif
 }
